using System;

public struct MazeLocation
{
	public int x;
	public int z;
	
/*	public MazeLocation ()
	{
		x = 0; 
		z = 0;
	}
	*/
	
	public MazeLocation(int x, int z)
	{
		this.x = x;
		this.z = z;
	}
	
	public static bool operator ==(MazeLocation a, MazeLocation b)
	{
	    // If both are null, or both are same instance, return true.
	    if (System.Object.ReferenceEquals(a, b))
	    {
	        return true;
	    }
	
	    // If one is null, but not both, return false.
	    if (((object)a == null) || ((object)b == null))
	    {
	        return false;
	    }
	
	    // Return true if the fields match:
	    return a.x == b.x && a.z == b.z;
	}
	
	public static bool operator !=(MazeLocation a, MazeLocation b)
	{
	    return !(a == b);
	}	
	

}
